﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.ServiceModel;
using System.Xml.XPath;

namespace HttpClient
{
 public    interface IXLink : IXPathNavigable, IClientChannel
    {

    }

 public class XLinkServiceSoapClient : ClientBase<IClientChannel>, IXLink
    {

        public XLinkServiceSoapClient()
        {
        }

        public XLinkServiceSoapClient(string endpointConfigurationName) :
            base(endpointConfigurationName)
        {
        }

        public XLinkServiceSoapClient(string endpointConfigurationName, string remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public XLinkServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(endpointConfigurationName, remoteAddress)
        {
        }

        public XLinkServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(binding, remoteAddress)
        {
        }


        public XPathNavigator CreateNavigator()
        {
            throw new NotImplementedException();
        }

        public bool AllowInitializationUI
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public IAsyncResult BeginDisplayInitializationUI(AsyncCallback callback, object state)
        {
            throw new NotImplementedException();
        }

        public bool DidInteractiveInitialization
        {
            get { throw new NotImplementedException(); }
        }

        public void EndDisplayInitializationUI(IAsyncResult result)
        {
            throw new NotImplementedException();
        }

        public event EventHandler<UnknownMessageReceivedEventArgs> UnknownMessageReceived;

        public Uri Via
        {
            get { throw new NotImplementedException(); }
        }

        public bool AllowOutputBatching
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public System.ServiceModel.Channels.IInputSession InputSession
        {
            get { throw new NotImplementedException(); }
        }

        public EndpointAddress LocalAddress
        {
            get { throw new NotImplementedException(); }
        }

        public TimeSpan OperationTimeout
        {
            get
            {
                throw new NotImplementedException();
            }
            set
            {
                throw new NotImplementedException();
            }
        }

        public System.ServiceModel.Channels.IOutputSession OutputSession
        {
            get { throw new NotImplementedException(); }
        }

        public EndpointAddress RemoteAddress
        {
            get { throw new NotImplementedException(); }
        }

        public string SessionId
        {
            get { throw new NotImplementedException(); }
        }

        public T GetProperty<T>() where T : class
        {
            throw new NotImplementedException();
        }

        public IExtensionCollection<IContextChannel> Extensions
        {
            get { throw new NotImplementedException(); }
        }
    }
      
   public  class WCFManager
    {
       public XLinkServiceSoapClient GetProxy(string data, string namespacestring)
       {
           XLinkServiceSoapClient doc = new XLinkServiceSoapClient();
           return doc;
       }
    }
}
